/* Copyright (C) 2010 Luca Piccinelli
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

/* 
 * File:   thresholding.h
 * Author: picci
 *
 * Created on January 9, 2011, 12:47 PM
 */

#ifndef THRESHOLDING_H
#define	THRESHOLDING_H

#include <opencv2/core/core.hpp>
#include <opencv2/core/mat.hpp>

namespace NAMESPACE{

void hysteresis_thresh(const cv::Mat& in, cv::Mat& out, uchar t1, uchar t2, uchar v1, uchar v2, int pad_dim = 3);

}

#endif	/* THRESHOLDING_H */

